package router

import (
	"food-mgr/api-getaway/handler/api"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {

	r.POST("/createOrder", api.CreateOrder)
	r.GET("/listOrder", api.ListOrder)
	r.POST("/createRider", api.CreateRider)
	r.GET("/listRider", api.ListRider)
	r.GET("/listBiz", api.ListBiz)
	r.POST("/createSlot", api.CreateSlot)
	r.GET("/listSlot", api.ListSlot)
	r.POST("/updateSlot", api.UpdateSlot)
	r.POST("/createEval", api.CreateEval)
	r.GET("/listEval", api.ListEval)
	r.GET("/listShop", api.ListShop)
	r.GET("/listPick", api.ListPick)

}
